import request from '@/utils/request'

export const importExcel = process.env.VUE_APP_BASE_URL + 'system/point/import'// 导入Excel

// 导出Excel
export function exportExcel (projectId) {
  return request.get('system/point/expor', { params: { projectId }, responseType: 'blob' })
}

// 5G基站内容列表
export const baseNetList = (projectId) => {
  return request.post(`system/point/list?projectId=${projectId}`)
}

// 保存5G基站数据
export const save5GBase = (save5GBaseDTO) => {
  return request.post('system/point/save', save5GBaseDTO)
}

// wifi内容列表
export function getWifiList (projectId, token) {
  return request.post('system/point/wifiList', {}, {
    params: {
      projectId,
      token
    }
  })
}
// 保存wifi信号
export const saveWifi = (save5GBaseDTO) => {
  return request.post('system/point/saveWifi', save5GBaseDTO)
}
